<div class="lefter">
	<div class="logo">
		<a href="#" target="_blank">
			<img src="__PUBLIC__/images/logo.png" alt="后台管理系统" width="80px" />
		</a>
	</div>
</div>
<div class="righter nav-navicon" id="admin-nav">
	<div class="mainer">
		<div class="admin-navbar">
			<span class="float-right">

            	<a class="button button-little bg-main" href="#" target="_blank">前台首页</a>

                <a class="button button-little bg-yellow" href="{:U('Lmkj/Login/loginOut')}">注销登录</a>

            </span>
			<ul class="nav nav-inline admin-nav">
				<li  <if condition="$controller eq Index ">  class="active"  </if> ><a href="{:U('Lmkj/Index/index')}" class="icon-home"> 开始</a>
					<ul>
						<li  <if condition="$controller eq System ">  class="active"  </if>   ><a href="{:U('Lmkj/System/index')}"     >系统设置</a>
						</li>
						<li <if condition="$controller eq Content ">  class="active"  </if>  ><a href="{:U('Lmkj/Content/index')}"      >内容管理</a>
						</li>
						<!--<li><a href="#">订单管理</a>
						</li>-->
						<li class="active"><a href="#">会员管理</a>
						</li>
						<!--<li><a href="#">文件管理</a>
						</li>-->
						<li><a href="#">栏目管理</a>
						</li>
					</ul>
				</li>
				<li <if condition="$controller eq System ">  class="active"  </if> ><a href="{:U('Lmkj/System/index')}" class="icon-cog"> 系统</a>
					<ul>
						<li><a href="#">全局设置</a>
						</li>
						<li class="active"><a href="#">系统设置</a>
						</li>
						<li><a href="#">会员设置</a>
						</li>
						<li><a href="#">积分设置</a>
						</li>
					</ul>
				</li>
				<li <if condition="$controller eq Content ">  class="active"  </if> ><a href="{:U('Lmkj/Content/index')}" class="icon-file-text"> 内容</a>
					<ul>
						<li <if condition="$action eq showAddContent ">  class="active"  </if> ><a href="{:U('Lmkj/Content/showAddContent')}">添加内容</a>
						</li>
						<li <if condition="$action eq index ">  class="active"  </if> ><a href="{:U('Lmkj/Content/index')}">内容管理</a>
						</li>
						<li <if condition="$action eq categoryList ">  class="active"  </if>  > <a href="{:U('Lmkj/Content/categoryList')}">栏目管理</a>
						</li>
						<li <if condition="$action eq showLinkManage ">  class="active"  </if> ><a href="{:U('Lmkj/Content/showLinkManage')}">链接管理</a>
						</li>
					</ul>
				</li>
				<!--<li><a href="#" class="icon-shopping-cart"> 订单</a>
				</li>-->
				<li><a href="#" class="icon-user"> 会员</a>
				</li>
				<!--<li><a href="#" class="icon-file"> 文件</a>
				</li>-->
				<li><a href="#" class="icon-th-list"> 栏目</a>
				</li>
			</ul>
		</div>
		<div class="admin-bread">
			<span>您好，<?php echo $_SESSION['userName']->user ?>，欢迎您的光临。</span>
			<if condition="$controller eq Index ">
				<ul class="bread">
					<li><a href="{:U('Lmkj/Index/index')}" class="icon-home"> 开始</a>
					</li>
					<li>后台首页</li>
				</ul>
			<elseif condition="$controller eq System " />
				<ul class="bread">
					<li><a href="{:U('Lmkj/System/index')}" class="icon-cog"> 系统</a>
					</li>
					<if condition="$controller eq Index ">
					<li>系统设置</li>
					<elseif condition="$controller eq Index " />
					<li>系统设置</li>
					</if>
				</ul>
			<elseif condition="$controller eq Content " />
				<ul class="bread">
					<li><a href="{:U('Lmkj/Content/index')}" class="icon-file-text"> 内容</a>
					</li>
					<if condition="$action eq index ">
					<li>内容管理</li>
					<elseif condition="$action eq categoryList " />
					<li>栏目管理</li>
					<elseif condition="$action eq showAddContent " />
					<li>添加内容</li>
					<elseif condition="$action eq showLinkManage " />
					<li>链接管理</li>
					</if>
				</ul>
			</if>	
			
		</div>
	</div>
</div>